
#pragma once

#include "KinectFunction.h"
#include "BodyInfo.h"
#include <GL/glut.h>	// glut.h includes the other two automatically in Win32
#include "KinectMsg.h"

class Kinect
{
public:
	//kinect id
	int id;
	//kinect
	KinectMsg *msg;
	xn::SceneMetaData sceneMD;
	xn::DepthMetaData depthMD;
public:
	Kinect(int );
	~Kinect(void);
	int getID();
	int initKinect();
	void updateBodyInfo();
	BodyInfo getBodyInfo() const;
	KinectMsg *getKinectMsg() const;
};
